/**
 * Project: springyounger.lottery.web
 * 
 * File Created at 2010-3-30
 * $Id$
 * 
 * Copyright 2009 Zjut Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Zjut Edu. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Zjut Edu.
 */
package com.springyounger.lottery.dal.dataobject;

import java.io.Serializable;

/**
 * 结果集
 * 
 * @author springyounger
 */
public class ResultInfo implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 6107496668109657580L;

    public static String      RESULT_FAILED    = "0";                 // 失败
    public static String      RESULT_SUCCESS   = "1";                 // 成功
    public static String      RESULT_ERROR     = "2";                 // 系统及错误

    private String            type;                                   // 返回类型
    private String            message;                                // 信息
    private Object            object;                                 // 返回对象

    /**
     * @return the rESULT_FAILED
     */
    public static String getRESULT_FAILED() {
        return RESULT_FAILED;
    }

    /**
     * @param rESULTFAILED the rESULT_FAILED to set
     */
    public static void setRESULT_FAILED(String rESULTFAILED) {
        RESULT_FAILED = rESULTFAILED;
    }

    /**
     * @return the rESULT_SUCCESS
     */
    public static String getRESULT_SUCCESS() {
        return RESULT_SUCCESS;
    }

    /**
     * @param rESULTSUCCESS the rESULT_SUCCESS to set
     */
    public static void setRESULT_SUCCESS(String rESULTSUCCESS) {
        RESULT_SUCCESS = rESULTSUCCESS;
    }

    /**
     * @return the rESULT_ERROR
     */
    public static String getRESULT_ERROR() {
        return RESULT_ERROR;
    }

    /**
     * @param rESULTERROR the rESULT_ERROR to set
     */
    public static void setRESULT_ERROR(String rESULTERROR) {
        RESULT_ERROR = rESULTERROR;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * @param message the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * @return the object
     */
    public Object getObject() {
        return object;
    }

    /**
     * @param object the object to set
     */
    public void setObject(Object object) {
        this.object = object;
    }
}
